package com.hmdp.utils;

import lombok.Data;

import java.io.Serializable;

/**
 * @Author lxh
 * @Date 2022/8/1
 * @Date 20:47
 * @Version 1.0
 */
@Data
public class JwtPayload<R> implements Serializable {
    //数据
    public R data;
    //过期时间
    public long expire;
    public JwtPayload(R data,long expire){
        this.data=data;
        this.expire=expire;
    }
}
